package com.j48.entrancegurad.model;

import java.sql.Timestamp;

/**
 * host_id 业主编号；
 * host_building 房屋所属建筑；
 * host_unit 房屋所属单元；
 * host_housenumber 房屋号；
 * host_name 业主姓名；
 * host_phone 业主手机号；
 * host_number 房屋住户人数；
 * host_create_admin_id 创建人编号；
 * host_createtime 创建时间；
 * host_modify_admin_id 修改人编号；
 * host_lasttime 最后修改时间；
 */
public class Host {
    private int host_id;//业主编号
    private int host_building;//房屋所属楼栋
    private int host_unit;//房屋所属单元
    private int host_housenumber;//房屋号
    private String host_name;//业主姓名
    private long host_phone;//业主手机号
    private int host_number;//房屋住户人数
    private int host_create_admin_id;//创建人编号
    private Timestamp host_createtime;//创建时间
    private int host_modify_admin_id;//修改人编号
    private Timestamp host_lasttime;//最后修改时间
    public Host(Host host){
        this.host_id=host.host_id;
        this.host_building=host.host_building;
        this.host_unit=host.host_unit;
        this.host_housenumber=host.host_housenumber;
        this.host_name=host.host_name;
        this.host_phone=host.host_phone;
        this.host_number=host.host_number;
        this.host_create_admin_id=host.host_create_admin_id;
        this.host_createtime=host.host_createtime;
        this.host_modify_admin_id=host.host_modify_admin_id;
        this.host_lasttime=host.host_lasttime;
    }
    public Host(int host_building, int host_unit, int host_housenumber){
        this.host_building = host_building;
        this.host_unit = host_unit;
        this.host_housenumber = host_housenumber;
    }
    public Host(int host_building, int host_unit, int host_housenumber, String host_name, long host_phone, int host_number, int host_create_admin_id, Timestamp host_createtime) {
        this.host_building = host_building;
        this.host_unit = host_unit;
        this.host_housenumber = host_housenumber;
        this.host_name = host_name;
        this.host_phone = host_phone;
        this.host_number = host_number;
        this.host_create_admin_id = host_create_admin_id;
        this.host_createtime = host_createtime;
    }

    public Host() {
    }
   public Host(String host_name){
      this.host_name=host_name;
   }
    public int getHost_id() {
        return host_id;
    }

    public void setHost_id(int host_id) {
        this.host_id = host_id;
    }

    public int getHost_building() {
        return host_building;
    }

    public void setHost_building(int host_building) {
        this.host_building = host_building;
    }

    public int getHost_unit() {
        return host_unit;
    }

    public void setHost_unit(int host_unit) {
        this.host_unit = host_unit;
    }

    public int getHost_housenumber() {
        return host_housenumber;
    }

    public void setHost_housenumber(int host_housenumber) {
        this.host_housenumber = host_housenumber;
    }

    public String getHost_name() {
        return host_name;
    }

    public void setHost_name(String host_name) {
        this.host_name = host_name;
    }

    public long getHost_phone() {
        return host_phone;
    }

    public void setHost_phone(long host_phone) {
        this.host_phone = host_phone;
    }

    public int getHost_number() {
        return host_number;
    }

    public void setHost_number(int host_number) {
        this.host_number = host_number;
    }

    public int getHost_create_admin_id() {
        return host_create_admin_id;
    }

    public void setHost_create_admin_id(int host_create_admin_id) {
        this.host_create_admin_id = host_create_admin_id;
    }

    public Timestamp getHost_createtime() {
        return host_createtime;
    }

    public void setHost_createtime(Timestamp host_createtime) {
        this.host_createtime = host_createtime;
    }

    public int getHost_modify_admin_id() {
        return host_modify_admin_id;
    }

    public void setHost_modify_admin_id(int host_modify_admin_id) {
        this.host_modify_admin_id = host_modify_admin_id;
    }

    public Timestamp getHost_lasttime() {
        return host_lasttime;
    }

    public void setHost_lasttime(Timestamp host_lasttime) {
        this.host_lasttime = host_lasttime;
    }
}
